package com.bluetoothsms.x86;

import java.io.IOException;

import javax.bluetooth.RemoteDevice;

public class PairedDevice {

	private final RemoteDevice mDev;

	public PairedDevice(RemoteDevice d) {
		mDev = d;
	}

	public RemoteDevice getRemoteDevice() {
		return mDev;
	}

	@Override
	public String toString() {
		try {
			return mDev.getFriendlyName(false);
		} catch (IOException e) {
			System.out.println(e.getMessage());
		}

		return null;
	}

}
